#include "stdafx.h"
#include "TounamentRobotDef.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_TounamentRobotDef);

struct  TounamentRobotDefDefReflectionRegister
{
	TounamentRobotDefDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_nnUserID,int64(1111111111)).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iRank,1).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iWinRate,int32(80)).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iHonor,int32(0)).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iCombatDef,INVALID_ID).Editor_SetAsForeignKey(eDefGroup_Default,eDefaultDef_CombatDataDef);
		REGISTER_REFLECTION_MEMBER(TounamentRobotDef,m_iFace,1).Editor_SetAsRaw();

		GlobalClassManager::Instance().RegisterClass(TounamentRobotDef::s_GetReflection(),eDefaultDef_TounamentRobotDef);
		GlobalDefManager::Instance().RegisterDefManger(&TounamentRobotDefManager::Instance());

	}
}___TounamentRobotDefDefReflectionRegister;

rewrite  void TounamentRobotDef::OnArchieveReaded()
{
}

void TounamentRobotDefManager::OnArchieveReaded()
{
	__TounamentRobotDefManager::OnArchieveReaded();
}